package org.darcy.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 文件上传配置信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "upload")
public class UploadProperties {

	private OssClientProperties aliyun;

	//本地文件上传类型，0：本地；1：阿里云
	private Integer type;

	private String host;

	private String path;
	
	private String pathWindows;

}
